package com.woniuxy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.woniuxy.dao.DeptMapper;
import com.woniuxy.pojo.Dept;
import com.woniuxy.service.DeptService;
@Transactional
@Service
public class DeptServiceImpl implements DeptService{

	@Autowired
	private DeptMapper deptMapper;
	@Override
	public List<Dept> getAllDepts() {
		// TODO Auto-generated method stub
		return deptMapper.selectAllDepts();
	}


}
